package cn.ac.cintcm.synonymous;


public class NameRecord {
    /**
     * 
     */
    private static final long serialVersionUID = 487389123206329335L;
    private long id;
    private String name;
    private char type;
    private NameField category;
    private NameField source;
    private String reference;
    
    public static final char FORMAL = 'f';
    public static final char ALIAS = 'a';
    public static final char ENGLISH = 'e';
    public static final char ALL = 't';
    public NameField getCategory() {
        return category;
    }
    public void setCategory(NameField category) {
        this.category = category;
    }
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public NameField getSource() {
        return source;
    }
    public void setSource(NameField source) {
        this.source = source;
    }
    public char getType() {
        return type;
    }
    public void setType(char type) {
        this.type = type;
    }
    public String getReference() {
        return reference;
    }
    public void setReference(String reference) {
        this.reference = reference;
    }

    
}
